import { actionTypes} from "./actionTypes";

export const add = (number) => {
    return {
        type: actionTypes.add,
        number
    }
}

export const reduce = (number) => {
    return {
        type: actionTypes.reduce,
        number
    }
}